﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace jnagr.Web.sicpet
{
    public partial class Default :BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                CheckMenu("01");
                string umenu = getMenu();
                if (umenu.Contains("01s1"))
                { }
                else if (umenu.Contains("01s2"))
                    Response.Redirect("/sicpet/cxpic.aspx");
                else if (umenu.Contains("01s3"))
                    Response.Redirect("/weatherinfo/listcbd.aspx");
                else if (umenu.Contains("01s4"))
                    Response.Redirect("/forestpets/default.aspx");
                else if (umenu.Contains("01s5"))
                    Response.Redirect("/sicpet/Pic.aspx"); 
                checkright.Titlename = getTitlename(0);
            }
        }
    }
}